<!--{include header_order}-->
  <style type="text/css">
  .component-order-nav {
position: relative;
float: left;
width: 159px;
min-height: 700px;
_height: 700px;
border: 1px solid #eee;
border-right: none;
background: #f9f9f9;
}
#content {
width: 820px;
}
#content .mainbox {
padding: 20px;
border-color: #eee;
border-left-color: #eee;
min-height: 687px;
}
.mainbox {
position: relative;
}
  </style>
  
<div id="bdw" class="bdw has-order-nav">
  <div id="bd" class="cf" >
            <div data-component="order-nav" class="component-order-nav" mt-scope='[]'  data-component-config='{"lazyRender":false,"afterLoad":false}'><img src='data:image/png,' onerror='M._autoinit.push(this.parentNode);this.parentNode.removeChild(this);' width=1 height=1 style='position:absolute;'><div class="side-nav J-order-nav">
    <div class="J-side-nav__user side-nav__user cf">
        <a href="/account/settings.php" title="上传头像" gaevent="/account/settings.php" class="J-user item user">
		<!--{if $login_user['avatar']}-->
		<img src="${user_image($login_user['avatar'])}" width="30" height="30">
		<!--{else}-->
		<img src="/static/0750/css/img/user-default-avatar.png" width="30" height="30">
		<!--{/if}-->
		</a>
							
							
        <div class="item info">
            <div class="info__name">${mb_strimwidth($login_user['username'],0,10)}</div>
            <div><a target="_blank" href="/credit/score.php">
			<!--{if $login_user['score']  < 100}-->
<em>V0</em>会员
<!--{elseif $login_user['score'] > 99 && $login_user['score'] < 500}-->
<em>V1</em>会员
<!--{elseif $login_user['score'] > 499 && $login_user['score'] < 1000}-->
<em>V2</em>会员
<!--{elseif $login_user['score'] > 999 && $login_user['score'] < 1500}-->
<em>V3</em>会员
<!--{elseif $login_user['score'] > 1499 && $login_user['score'] < 2000}-->
<em>V4</em>会员
<!--{elseif $login_user['score'] > 1999 && $login_user['score'] < 2500}-->
<em>V5</em>会员
<!--{elseif $login_user['score'] > 2499 && $login_user['score'] < 3000}-->
<em>V6</em>会员
<!--{elseif $login_user['score'] > 2999 && $login_user['score'] < 3500}-->
<em>V7</em>会员
<!--{elseif $login_user['manager']=='Y'}-->
<em>管理员</em>
<!--{/if}-->
			
			
			</a></div>
            <div class="op cf">
               
                <a href="/account/setbinds.php" class="phone uix-tooltip " title="绑定手机"></a>
                <a href="/account/settings.php" class="setting uix-tooltip setting-noset" title="编辑资料"></a>
            </div>
        </div>
    </div>
    <div class="side-nav__account cf">
        <a class="item item--first" gaevent="/credit/index.php" target="_blank" href="/credit/index.php" title="${moneyit($login_user['money'])}">${moneyit($login_user['money'])}<span>余额</span></a>
        <a class="item" gaevent="/credit/score.php" target="_blank" href="/credit/score.php" title="${moneyit($login_user['score'])}">${moneyit($login_user['score'])}<span>积分</span></a>
      
    </div>
    <dl class="side-nav__list">
	 <dt><strong>我的优惠券</strong></dt>
        <dd>
            <ul class="item-list">
             <li ><a href="/coupon/index.php">未使用</a></li>
				 <li ><a href="/coupon/consume.php">已使用</a></li>
				  <li ><a href="/coupon/expire.php">已过期</a></li>
            </ul>
        </dd>
        <dt class="first-item"><strong>我的订单</strong></dt>
        <dd>
            <ul class="item-list">
                <li  ><a href="/order/index.php?s=index">全部订单</a></li>
				 <li ><a href="/order/index.php?s=unpay">未付款</a></li>
                <li ><a href="/order/index.php?s=pay">已付款</a></li>
				 <li ><a href="/order/index.php?s=askrefund">申请退款</a></li>
            </ul>
        </dd>
		 
		  <dt><strong>我的邀请</strong></dt>
        <dd>
            <ul class="item-list">
                <li ><a href="/account/refer.php">所有</a></li>
				 <li ><a href="/account/referpending.php">未购买</a></li>
				  <li ><a href="/account/referdone.php">已返利</a></li>
            </ul>
        </dd>
        <dt><strong>我的账户</strong></dt>
        <dd class="last">
            <ul class="item-list">
			 <li ><a href="/account/settings.php">账户设置</a></li>
			  <li class="current"><a href="/credit/index.php">我的余额</a></li>
			  <li ><a href="/account/myask.php" >我的问答</a></li>
			    <li ><a href="/account/setbinds.php">手机绑定</a></li>
				  <li ><a href="/account/setaddress.php">收货地址</a></li>
            </ul>
        </dd>
		 <dt><strong>我的评价</strong></dt>
        <dd>
            <ul class="item-list">
                <li ><a href="/account/comment.php">我的评价</a></li>
            </ul>
        </dd>
		 <dt><strong>我的收藏</strong></dt>
        <dd>
            <ul class="item-list">
                <li ><a href="/account/collect.php">我的收藏</a></li>
            </ul>
        </dd>
		  <dt><strong>我的成长</strong></dt>
        <dd>
            <ul class="item-list">
               <li ><a href="/credit/score.php">我的积分</a></li>
			   <li ><a href="/credit/records.php">兑换记录</a></li> 
            </ul>
        </dd>
    </dl>
</div>

</div>
            


<div id="account-charge">
<div id="content" class="coupons-box">
    <div class="mainbox mine">
     
      
 
      
		<div class="box clear">
            <div class="head">
                    <h2>充值</h2>
                </div>
                <div class="sect">
					 <div class="charge">
                        <form id="account-charge-form" action="/order/charge.php" method="post" class="validator">
                            <p>请输入充值金额：</p>
                            <p class="number">
                                <input type="text" maxlength="6" class="f-text" name="money" require="true" datatype="money" value="{$money}" /> 元 （不支持小数，最低 1 元）
                            </p>
                            <p id="account-charge-tip" class="tip" style="visibility:hidden;"></p>
                            <div class="choose">
                                <p class="choose-pay-type">请选择支付方式：</p>
                                <ul class="typelist">
								<!--{if $_SESSION['ali_token']}-->
								        <li><input id="check-alipay" type="radio" name="paytype" value="alipay" {$ordercheck['alipay']} /><label for="check-alipay" class="alipay">支付宝交易，推荐淘宝用户使用</label></li>
                                 <!--{else}-->
									<!--{if $INI['paypal']['mid']}-->
										<li><input id="check-paypal" type="radio" name="paytype" value="paypal" {$ordercheck['paypal']} /><label for="check-paypal" class="paypal">PayPal, Recommended</label></li>
									<!--{/if}-->
									<!--{if $INI['alipay']['mid']}-->
										<li><input id="check-alipay" type="radio" name="paytype" value="alipay" {$ordercheck['alipay']} /><label for="check-alipay" class="alipay">支付宝交易，推荐淘宝用户使用</label></li>
									<!--{/if}-->
									<!--{if $INI['tenpay']['mid']}-->
										<li><input id="check-tenpay" type="radio" name="paytype" value="tenpay" {$ordercheck['tenpay']} /><label for="check-tenpay" class="tenpay">财付通交易，推荐QQ用户使用</label></li>
									<!--{/if}-->
                                                                                                           <!--{if $INI['sdopay']['mid']}-->
										<li><input id="check-sdopay" type="radio" name="paytype" value="sdopay" {$ordercheck['sdopay']} /><label for="check-sdopay" class="sdopay">盛付通交易，推荐盛大一卡通用户使用</label></li>
									<!--{/if}-->
									<!--{if $INI['yeepay']['mid']}-->
										<li><input id="check-bill" type="radio" name="paytype" value="yeepay" {$ordercheck['bill']} /><label for="check-yeepay" class="yeepay">易宝支付</label></li>
									<!--{/if}-->
									<!--{if $INI['bill']['mid']}-->
										<li><input id="check-bill" type="radio" name="paytype" value="bill" {$ordercheck['bill']} /><label for="check-bill" class="bill">快钱交易</label></li>
									<!--{/if}-->
									<!--{if $INI['chinabank']['mid']}-->
										<li><input id="check-chinabank" type="radio" name="paytype" value="chinabank" {$ordercheck['chinabank']} /><label for="check-chinabank" class="chinabank">支持招商、工行、建行、中行等主流银行的网银支付</label></li>
									<!--{/if}-->
                                                                                                           <!--{if $INI['cmpay']['mid']}-->
										<li><input id="check-cmpay" type="radio" name="paytype" value="cmpay" {$ordercheck['cmpay']} /><label for="check-cmpay" class="cmpay">手机号就是您的支付账户，中国移动为您提供随时随地随身的支付服务！</label></li>
									<!--{/if}-->
                                    <!--{if $INI['gopay']['mid']}-->
										<li><input id="check-gopay" type="radio" name="paytype" value="gopay" {$ordercheck['gopay']} /><label for="check-gopay" class="gopay">国家级电子支付平台，超低费率，安全保证。</label></li>
									<!--{/if}-->
                                </ul>

		<!--{if $INI['tenpay']['mid']&&'Y'==$INI['tenpay']['direct']}-->
					<div id="paybank">
						<!--{loop $paybank $one}-->
						<p><input id="check-{$one}" type="radio" name="paytype" value="{$one}" /><label for="check-{$one}" class="{$one}"></label></p>
						<!--{/loop}-->
					</div>  
		<!--{/if}-->

		<!--{if $INI['sdopay']['mid']&&'Y'==$INI['sdopay']['direct']&&'N'==$INI['tenpay']['direct']}-->
					<div id="paybank">
						<!--{loop $sdopaybank $one $sid}-->
						<p><input id="check-{$one}" type="radio" name="paytype" value="{$sid}" /><label for="check-{$one}" class="{$one}"></label></p>
						<!--{/loop}-->
					</div>  
		<!--{/if}-->

		<!--{if $INI['yeepay']['mid']&&'Y'==$INI['yeepay']['direct']&&'N'==$INI['tenpay']['direct']&&'N'==$INI['sdopay']['direct']}-->
					<div id="paybank">
						<!--{loop $yeepaybank $one $pid}-->
						<p><input id="check-{$one}" type="radio" name="paytype" value="{$pid}" /><label for="check-{$one}" class="{$one}"></label></p>
						<!--{/loop}-->
					</div>  
		<!--{/if}-->
        <!--{if $INI['gopay']['mid']&&'Y'==$INI['gopay']['direct']&&'N'==$INI['tenpay']['direct']&&'N'==$INI['sdopay']['direct']&&'N'==$INI['yeepay']['direct']}-->
					<div id="paybank">
						<!--{loop $gopaybank $one $gid}-->
						<p><input id="check-{$one}" type="radio" name="paytype" value="{$gid}" /><label for="check-{$one}" class="{$one}"></label></p>
						<!--{/loop}-->
					</div>  
		<!--{/if}-->
		<!--{/if}-->

		

                            </div>
                            <div class="clear"></div>
                            <p class="commit">
                                <input type="submit" value="确定，去付款" class="formbutton" />
                            </p>
                        </form>
                    </div>
				</div>
           
           
        </div>
    

	</div>
</div>
</div>


        </div>
		</div> <!-- bdw end -->

<!--{include footer}-->
